package com.starter.knife4j.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.io.Serializable;

/**
 * @author wuyijie
 * @className: SwaggerProperties
 * @description: TODO swagger配置类
 * @date 2021/4/2 10:43
 */
@Data
@ConfigurationProperties(prefix = MallSwaggerProperties.prefix)
public class MallSwaggerProperties implements Serializable {

    public static final String prefix = "mall.swagger";

    public static boolean enable = true;

    private String title;

    private String contactUser;
    private String contactUrl;
    private String contactEmail;

    private String version;

    private String license;

    private String licenseUrl;

    private String description;

    /**
     * swagger扫包路径。可以配置多个，逗号隔开。
     */
    private String basePackage = "com.mall";


}
